package com.csst.business.service;

import java.util.List;

import com.csst.business.model.Awresult;
import com.csst.business.model.BOnline;
import com.csst.business.model.BUser;
import com.csst.business.model.TTrUser;
import com.csst.business.model.TWuser;

public interface IUserService {
	
	public TTrUser getUserById(String id);

	public BUser volidate(BUser user);

	public void AddorUpdateUser(TWuser twuser);

	public void deleteWuserByOpenId(String fromUserName);

	public int getAllUserTotle();

	public List<TWuser> getAllWUserList(int startNum, int endNum);

	public TWuser getUserByOpenId(String userOpenId);

	public List<BOnline> getOnlineListByOpenId(String userOpenId);

	public List<Awresult> getAwresultListByOpendId(String userOpenId);
 
	public List<TWuser> getWuserByOpenId(String fromUserName);

	public void saveUser(TWuser twuser);

	public void updateUser(TWuser twuser); 

} 
